package com.mysteel.monitor.core.utils;


/**
 * 字符串操作工具类
 * @since 1.0
 */
public class StringUtil {

    /**
     * 字符串分隔符
     */
    public static final String SEPARATOR = String.valueOf((char) 29);

    /**
     * 判断字符串是否非空
     */
    public static boolean isNotEmpty(String str) {
        return str != null && str.trim() != "";
    }

    public static boolean isEmpty(Object str) {
        return str == null || "".equals(str);
    }

}
